using System;
using System.Collections.Generic;
using System.Linq;
using NLite.Data;
namespace SolutionModel
{
	[Table("T_MenuInRole")]
	public partial class T_MenuInRole 
	{
	
		[Id("ID",IsDbGenerated=true)]
		public Int32 ID { get;set; }
 
		[Column("RoleID")]
		public String RoleID { get;set; }
		[Column("MenuID")]
		public Int32 MenuID { get;set; }
 
		[ManyToOne(ThisKey="RoleID",OtherKey="RoleID")]
		public T_AdminRole Role { get;set; }
		[ManyToOne(ThisKey="MenuID",OtherKey="C_ID")]
		public T_Menu Menu { get;set; }
 
 
	}
}
